ExamPlay Dark Logo
Hyni

Computer Science for IGCSE & O level - Data Representation (Section 9 - No. 44)

What is the primary difference between a logical shift and an arithmetic shift?
Logical shifts involve shifting bits to the left, while arithmetic shifts shift to the right.
Arithmetic shifts preserve the sign bit, logical shifts do not.
Logical shifts are used for multiplication, arithmetic shifts are used for division.
There is no real difference; the terms are used interchangeably.

Shpjegimi

Arithmetic shifts preserve the sign of the number. Logical shifts ignore the sign bit.

Komentet (0)

Identifikohu për të komentuar
Reklamim
BrainBehindX Inc Logo
©2026; Mundësuar nga BrainBehindX Inc